[INFO] cloning repository https://github.com/ashwin-venkatesan/automate-display-mode
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ashwin-venkatesan/automate-display-mode" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fashwin-venkatesan%2Fautomate-display-mode", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fashwin-venkatesan%2Fautomate-display-mode'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 73adbaff5551303ef78b492c115b30bae87d0263
[INFO] checking ashwin-venkatesan/automate-display-mode against master#dc375db7d8df0aa450e622c529147c95eee756f5 for pr-156749
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fashwin-venkatesan%2Fautomate-display-mode" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/ashwin-venkatesan/automate-display-mode
[INFO] finished tweaking git repo https://github.com/ashwin-venkatesan/automate-display-mode
[INFO] tweaked toml for git repo https://github.com/ashwin-venkatesan/automate-display-mode written to /workspace/builds/worker-4-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/ashwin-venkatesan/automate-display-mode on toolchain dc375db7d8df0aa450e622c529147c95eee756f5
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dc375db7d8df0aa450e622c529147c95eee756f5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/ashwin-venkatesan/automate-display-mode already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dc375db7d8df0aa450e622c529147c95eee756f5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded time-macros v0.2.22
[INFO] [stderr]   Downloaded simplelog v0.12.2
[INFO] [stderr]   Downloaded time-core v0.1.4
[INFO] [stderr]   Downloaded config v0.14.1
[INFO] [stderr]   Downloaded pathdiff v0.2.3
[INFO] [stderr]   Downloaded once_cell_polyfill v1.70.1
[INFO] [stderr]   Downloaded anstyle-query v1.1.3
[INFO] [stderr]   Downloaded num_threads v0.1.7
[INFO] [stderr]   Downloaded clap_lex v0.7.5
[INFO] [stderr]   Downloaded anstyle v1.0.11
[INFO] [stderr]   Downloaded libredox v0.1.6
[INFO] [stderr]   Downloaded anstyle-wincon v3.0.9
[INFO] [stderr]   Downloaded rust-ini v0.20.0
[INFO] [stderr]   Downloaded anstream v0.6.19
[INFO] [stderr]   Downloaded deranged v0.4.0
[INFO] [stderr]   Downloaded rusb v0.9.4
[INFO] [stderr]   Downloaded clap_derive v4.5.41
[INFO] [stderr]   Downloaded clap v4.5.41
[INFO] [stderr]   Downloaded time v0.3.41
[INFO] [stderr]   Downloaded cc v1.2.30
[INFO] [stderr]   Downloaded clap_builder v4.5.41
[INFO] [stderr]   Downloaded syn v2.0.104
[INFO] [stderr]   Downloaded libusb1-sys v0.7.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3e793bdf10248eb2ddbd6b0faebed8155c11b4589982e2893733958d93e8d540" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 44cd0f8140108c3a0f06d0c516a32433f68a4bb00a6e059b16cac99e402670df
[INFO] running `Command { std: "docker" "start" "44cd0f8140108c3a0f06d0c516a32433f68a4bb00a6e059b16cac99e402670df", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "44cd0f8140108c3a0f06d0c516a32433f68a4bb00a6e059b16cac99e402670df" "/opt/rustwide/cargo-home/bin/cargo" "+dc375db7d8df0aa450e622c529147c95eee756f5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "44cd0f8140108c3a0f06d0c516a32433f68a4bb00a6e059b16cac99e402670df", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-w" "/opt/rustwide/workdir" "--user" "0:0" "44cd0f8140108c3a0f06d0c516a32433f68a4bb00a6e059b16cac99e402670df" "/opt/rustwide/cargo-home/bin/cargo" "+dc375db7d8df0aa450e622c529147c95eee756f5" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.174
[INFO] [stderr]    Compiling crunchy v0.2.4
[INFO] [stderr]    Compiling tiny-keccak v2.0.2
[INFO] [stderr]    Compiling cfg-if v1.0.1
[INFO] [stderr]    Compiling once_cell v1.21.3
[INFO] [stderr]    Compiling cc v1.2.30
[INFO] [stderr]    Compiling syn v2.0.104
[INFO] [stderr]     Checking utf8parse v0.2.2
[INFO] [stderr]     Checking anstyle-parse v0.2.7
[INFO] [stderr]     Checking powerfmt v0.2.0
[INFO] [stderr]    Compiling time-core v0.1.4
[INFO] [stderr]    Compiling num-conv v0.1.0
[INFO] [stderr]     Checking hashbrown v0.14.5
[INFO] [stderr]     Checking colorchoice v1.0.4
[INFO] [stderr]     Checking anstyle-query v1.1.3
[INFO] [stderr]     Checking is_terminal_polyfill v1.70.1
[INFO] [stderr]    Compiling serde v1.0.219
[INFO] [stderr]     Checking anstyle v1.0.11
[INFO] [stderr]     Checking deranged v0.4.0
[INFO] [stderr]    Compiling time-macros v0.2.22
[INFO] [stderr]     Checking anstream v0.6.19
[INFO] [stderr]    Compiling getrandom v0.2.16
[INFO] [stderr]     Checking clap_lex v0.7.5
[INFO] [stderr]     Checking num_threads v0.1.7
[INFO] [stderr]    Compiling const-random-macro v0.1.16
[INFO] [stderr]     Checking itoa v1.0.15
[INFO] [stderr]     Checking option-ext v0.2.0
[INFO] [stderr]    Compiling heck v0.5.0
[INFO] [stderr]    Compiling rusb v0.9.4
[INFO] [stderr]     Checking const-random v0.1.18
[INFO] [stderr]     Checking dlv-list v0.5.2
[INFO] [stderr]     Checking memchr v2.7.5
[INFO] [stderr]     Checking minimal-lexical v0.2.1
[INFO] [stderr]     Checking strsim v0.11.1
[INFO] [stderr]    Compiling paste v1.0.15
[INFO] [stderr]     Checking ordered-multimap v0.7.3
[INFO] [stderr]     Checking dirs-sys v0.4.1
[INFO] [stderr]     Checking clap_builder v4.5.41
[INFO] [stderr]     Checking log v0.4.27
[INFO] [stderr]     Checking pathdiff v0.2.3
[INFO] [stderr]     Checking dirs v5.0.1
[INFO] [stderr]     Checking rust-ini v0.20.0
[INFO] [stderr]    Compiling libusb1-sys v0.7.0
[INFO] [stderr]     Checking nom v7.1.3
[INFO] [stderr]     Checking time v0.3.41
[INFO] [stderr]     Checking simplelog v0.12.2
[INFO] [stderr]    Compiling serde_derive v1.0.219
[INFO] [stderr]    Compiling clap_derive v4.5.41
[INFO] [stderr]     Checking clap v4.5.41
[INFO] [stderr]     Checking config v0.14.1
[INFO] [stderr]     Checking automate-display-mode v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0433]: cannot find module or crate `winapi` in this scope
[INFO] [stdout]   --> src/app.rs:14:5
[INFO] [stdout]    |
[INFO] [stdout] 14 | use winapi::um::winuser::{mouse_event, MOUSEEVENTF_MOVE};
[INFO] [stdout]    |     ^^^^^^ use of unresolved module or unlinked crate `winapi`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `winapi`, use `cargo add winapi` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `uinput` in this scope
[INFO] [stdout]   --> src/platform/wake_displays.rs:40:9
[INFO] [stdout]    |
[INFO] [stdout] 40 |     use uinput::event::controller::Controller::Mouse;
[INFO] [stdout]    |         ^^^^^^ use of unresolved module or unlinked crate `uinput`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `uinput`, use `cargo add uinput` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `uinput` in this scope
[INFO] [stdout]   --> src/platform/wake_displays.rs:41:9
[INFO] [stdout]    |
[INFO] [stdout] 41 |     use uinput::event::controller::Mouse::Left;
[INFO] [stdout]    |         ^^^^^^ use of unresolved module or unlinked crate `uinput`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `uinput`, use `cargo add uinput` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `uinput` in this scope
[INFO] [stdout]   --> src/platform/wake_displays.rs:42:9
[INFO] [stdout]    |
[INFO] [stdout] 42 |     use uinput::event::relative::Position::X;
[INFO] [stdout]    |         ^^^^^^ use of unresolved module or unlinked crate `uinput`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `uinput`, use `cargo add uinput` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `uinput` in this scope
[INFO] [stdout]   --> src/platform/wake_displays.rs:43:9
[INFO] [stdout]    |
[INFO] [stdout] 43 |     use uinput::event::relative::Relative::Position;
[INFO] [stdout]    |         ^^^^^^ use of unresolved module or unlinked crate `uinput`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `uinput`, use `cargo add uinput` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `uinput` in this scope
[INFO] [stdout]   --> src/platform/wake_displays.rs:44:9
[INFO] [stdout]    |
[INFO] [stdout] 44 |     use uinput::event::Event::{Controller, Relative};
[INFO] [stdout]    |         ^^^^^^ use of unresolved module or unlinked crate `uinput`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `uinput`, use `cargo add uinput` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `winapi` in this scope
[INFO] [stdout]   --> src/app.rs:14:5
[INFO] [stdout]    |
[INFO] [stdout] 14 | use winapi::um::winuser::{mouse_event, MOUSEEVENTF_MOVE};
[INFO] [stdout]    |     ^^^^^^ use of unresolved module or unlinked crate `winapi`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `winapi`, use `cargo add winapi` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `uinput` in this scope
[INFO] [stdout]   --> src/platform/wake_displays.rs:40:9
[INFO] [stdout]    |
[INFO] [stdout] 40 |     use uinput::event::controller::Controller::Mouse;
[INFO] [stdout]    |         ^^^^^^ use of unresolved module or unlinked crate `uinput`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `uinput`, use `cargo add uinput` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `uinput` in this scope
[INFO] [stdout]   --> src/platform/wake_displays.rs:41:9
[INFO] [stdout]    |
[INFO] [stdout] 41 |     use uinput::event::controller::Mouse::Left;
[INFO] [stdout]    |         ^^^^^^ use of unresolved module or unlinked crate `uinput`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `uinput`, use `cargo add uinput` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `uinput` in this scope
[INFO] [stdout]   --> src/platform/wake_displays.rs:42:9
[INFO] [stdout]    |
[INFO] [stdout] 42 |     use uinput::event::relative::Position::X;
[INFO] [stdout]    |         ^^^^^^ use of unresolved module or unlinked crate `uinput`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `uinput`, use `cargo add uinput` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `uinput` in this scope
[INFO] [stdout]   --> src/platform/wake_displays.rs:43:9
[INFO] [stdout]    |
[INFO] [stdout] 43 |     use uinput::event::relative::Relative::Position;
[INFO] [stdout]    |         ^^^^^^ use of unresolved module or unlinked crate `uinput`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `uinput`, use `cargo add uinput` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `uinput` in this scope
[INFO] [stdout]   --> src/platform/wake_displays.rs:44:9
[INFO] [stdout]    |
[INFO] [stdout] 44 |     use uinput::event::Event::{Controller, Relative};
[INFO] [stdout]    |         ^^^^^^ use of unresolved module or unlinked crate `uinput`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `uinput`, use `cargo add uinput` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `clap::Parser`
[INFO] [stdout]  --> src/main.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use clap::Parser;
[INFO] [stdout]   |     ^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `SwitchDirection`
[INFO] [stdout]  --> src/app.rs:8:43
[INFO] [stdout]   |
[INFO] [stdout] 8 | use crate::configuration::{Configuration, SwitchDirection};
[INFO] [stdout]   |                                           ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `wake_displays`
[INFO] [stdout]   --> src/app.rs:11:23
[INFO] [stdout]    |
[INFO] [stdout] 11 | use crate::platform::{wake_displays, PnPDetect};
[INFO] [stdout]    |                       ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `thread` and `time`
[INFO] [stdout]   --> src/app.rs:12:11
[INFO] [stdout]    |
[INFO] [stdout] 12 | use std::{thread, time};
[INFO] [stdout]    |           ^^^^^^  ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `clap::Parser`
[INFO] [stdout]  --> src/main.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use clap::Parser;
[INFO] [stdout]   |     ^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `SwitchDirection`
[INFO] [stdout]  --> src/app.rs:8:43
[INFO] [stdout]   |
[INFO] [stdout] 8 | use crate::configuration::{Configuration, SwitchDirection};
[INFO] [stdout]   |                                           ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `wake_displays`
[INFO] [stdout]   --> src/app.rs:11:23
[INFO] [stdout]    |
[INFO] [stdout] 11 | use crate::platform::{wake_displays, PnPDetect};
[INFO] [stdout]    |                       ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `thread` and `time`
[INFO] [stdout]   --> src/app.rs:12:11
[INFO] [stdout]    |
[INFO] [stdout] 12 | use std::{thread, time};
[INFO] [stdout]    |           ^^^^^^  ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `uinput` in this scope
[INFO] [stdout]   --> src/platform/wake_displays.rs:46:22
[INFO] [stdout]    |
[INFO] [stdout] 46 |     let mut device = uinput::default()?
[INFO] [stdout]    |                      ^^^^^^ use of unresolved module or unlinked crate `uinput`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `uinput`, use `cargo add uinput` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0433`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `automate-display-mode` (bin "automate-display-mode" test) due to 7 previous errors; 4 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error[E0433]: cannot find module or crate `uinput` in this scope
[INFO] [stdout]   --> src/platform/wake_displays.rs:46:22
[INFO] [stdout]    |
[INFO] [stdout] 46 |     let mut device = uinput::default()?
[INFO] [stdout]    |                      ^^^^^^ use of unresolved module or unlinked crate `uinput`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `uinput`, use `cargo add uinput` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0433`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `automate-display-mode` (bin "automate-display-mode") due to 7 previous errors; 4 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "44cd0f8140108c3a0f06d0c516a32433f68a4bb00a6e059b16cac99e402670df", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "44cd0f8140108c3a0f06d0c516a32433f68a4bb00a6e059b16cac99e402670df", kill_on_drop: false }`
[INFO] [stdout] 44cd0f8140108c3a0f06d0c516a32433f68a4bb00a6e059b16cac99e402670df
